package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.CashRecordDao;
import com.fsj.admin.system.domain.CashRecordDO;
import com.fsj.admin.system.service.CashRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class CashRecordServiceImpl implements CashRecordService {
	@Autowired
	private CashRecordDao cashRecordDao;
	
	@Override
	public CashRecordDO get(Long id){
		return cashRecordDao.get(id);
	}
	
	@Override
	public List<CashRecordDO> list(Map<String, Object> map){
		return cashRecordDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cashRecordDao.count(map);
	}
	
	@Override
	public int save(CashRecordDO cashRecord){
		return cashRecordDao.save(cashRecord);
	}
	
	@Override
	public int update(CashRecordDO cashRecord){
		return cashRecordDao.update(cashRecord);
	}
	
	@Override
	public int remove(Long id){
		return cashRecordDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return cashRecordDao.batchRemove(ids);
	}
	
}
